﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace MenuService.EntityFrameworkCore;

public class MenuServiceHttpApiHostMigrationsDbContext : AbpDbContext<MenuServiceHttpApiHostMigrationsDbContext>
{
    public MenuServiceHttpApiHostMigrationsDbContext(DbContextOptions<MenuServiceHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureMenuService();
    }
}
